﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace server
{
    public class UDPMessage
    {
        private string message;
        private string rid;
        private string auth;
        private DateTime msg_time;

        public string Message { get { return message; } set { message = value; } }
        public string RID { get { return rid; } set { rid = value; } }
        public string Auth { get { return auth; } set { auth = value; } }
        public DateTime Msg_Time { get { return msg_time; } set { msg_time = value; } }

        public UDPMessage(string message, string rid ,string auth,DateTime msg_time)
        {
            this.message = message;
            this.rid = rid;
            this.auth = auth;
            this.msg_time = msg_time;
        }
    }
}
